package com.xinke.module.system.model.vo.sms;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xinke.component.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.xinke.component.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 手机验证码分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SmsCodePageReqVO extends PageParam {

    @Schema(description = "手机号")
    private String smsMobile;

    @Schema(description = "验证码")
    private String smsCode;

    @Schema(description = "创建 IP")
    private String createIp;

    @Schema(description = "发送场景")
    private Integer sendScene;

    @Schema(description = "今日发送的第几条")
    private Integer todayIndex;

    @Schema(description = "是否使用")
    private Integer smsUsed;

    @Schema(description = "使用时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] usedTime;

    @Schema(description = "使用 IP")
    private String usedIp;

}